//
//  QDUCLineSectionHeaderView.swift
//  QDMetroClient
//
//  Created by YueWen on 2019/2/22.
//  Copyright © 2019 YueWen. All rights reserved.
//

import UIKit

/// 模拟分割线的headerView
final class QDUCLineSectionHeaderView: UITableViewHeaderFooterView {

    /// 横线view
    let lineView = UIView()
    
    override init(reuseIdentifier: String?) {
        super.init(reuseIdentifier: reuseIdentifier)
        
        lineView.backgroundColor = #colorLiteral(red: 0.9098039216, green: 0.9215686275, blue: 0.9137254902, alpha: 1)
        addSubview(lineView)
        lineView.snp.makeConstraints { (make) in
            make.left.equalToSuperview().offset(52)
            make.height.equalTo(0.5)
            make.bottom.equalToSuperview().inset(1)
            make.right.equalToSuperview().inset(20)
        }
    }
    
    
    required init?(coder aDecoder: NSCoder) {
        fatalError("init(coder:) has not been implemented")
    }

}
